]> dgit.raspbian.org Git - gnome-shell.git/commit
lookingGlass: Also handle null objects in objectToString
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 19 Feb 2020 10:53:05 +0000 (11:53 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Wed, 19 Feb 2020 10:56:36 +0000 (11:56 +0100)
commit26a49168ba2abcd60e66f64c3a3dcf8deda0c1e8
treef1bfa5766a70831cbd93f56da4d42b0d66b8b3b7
parentff4623454f3929994ab3911c138f01cf02f723d5
lookingGlass: Also handle null objects in objectToString

Whoops, while ff4623454 fixed the handling of `undefined` objects,
`null` objects obviously still don't have a toString() method. So also
handle those and return 'null' in case the object is null.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1024
js/ui/lookingGlass.js